package com.dingup.provider.service.student;

import com.dingup.api.adapter.student.StudentCourseInformationAdapter;
import com.dingup.api.model.student.Student;
import com.dingup.api.model.student.StudentCourseInformation;

import java.util.List;
import java.util.Map;

/**
 * Created by wancheng on 2018/8/15.
 */
public interface StudentCourseService {

    public void saveStudentCourse(StudentCourseInformation studentCourseInformation,String createUserId);

    public void updateStudentCourse(StudentCourseInformation studentCourseInformation,String createUserId);

    public Map<String,List<StudentCourseInformationAdapter>> getStudentCourseByStudentId(String studentId, String userAccount);

    public List<StudentCourseInformationAdapter> getStudentCourseByStudentId(String studentId);

    public Boolean ifHasUnFinishLessonMsg(Student student);

    public Boolean ifHasNullClassMsg(Student student);

    StudentCourseInformationAdapter getById(Integer id);

    public void deleteStudentCourse(Integer id);

    StudentCourseInformation getByStudentIdAndClassId(String studentId, Integer classId, String userAccount);
}
